package shopping;

public class Product {
	class product{
		public String name;
		public double price;
		
		public product(String name, double price) {
			this.name=name;
			this.price=price;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public double getPrice() {
			return price;
		}

		public void setPrice(double price) {
			this.price = price;
		}

		@Override
		public String toString() {
			return "product [name=" + name + ", price=" + price + "]";
		}
	}
}
